info1 = "D:\tools\noco"
info2 = r"D:\tools\noco"
info3 = "D:\\tools\\noco"
info4 = '张三说："你很厉害"'
print(info1)
print(info2)
print(info3)
print(info4)

info = "abcdefg"
print(info[3])
print(info.find("e"))
print(info.find("k"))

info = "苏官人今天的讲解很精彩但是不到三分钟"
info1 = info.replace("苏官人","卢昌问")
print(info)
print(info1)



info = ["python","java","html"]
num = [11,12,13]
info1 = "and".join(info)
num_str = [str(n) for n in num]
info2 = "-".join(num_str)
print(info1)
print(type(info1))
print(info2)
print(type(info2))

sql = "SeLECt* from students where id = 001"
print(sql.split())
for i in sql.split():
    print(i)
    print(sql.split("where"))

phone = " 138000000001 "
print(phone)
print(phone.strip())
sql = "SeLECt* from students where id = 001"
if "select" in sql.lower():
    print("显示查询结果")
else:
     print("非查询")